<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%String menu="2"; %>
	<%@ include file="/head.jsp" %>
		<div id="main">
			<div id="main_banner"></div>
			<div id="left">
				<div class="left_list">
					<!--客房基本信息-->
					<div class="title"><h3><img src="/images/pt_service_title.gif" id="title_img"/>基本信息</h3></div>
					<div id="info_list">
						<div class="info">
							<img src="/picture/roomPic/<s:property value='detail.roomPic'/>" width="140" height="100" class="pic"/>
							
							<div class="info-text">
								<h3><s:property value="detail.roomName"/></h3>
								<dl>
									<dt>所属省市：</dt><dd><s:property value="detail.roomPro"/> <s:property value="detail.roomCity"/></dd>
									<dt>所在景区：</dt><dd><s:property value="detail.roomHolidy"/></dd>
									<dt>客房类型：</dt><dd><s:property value="detail.roomType"/></dd>
									<dt>客房价格：</dt><dd><s:property value="detail.roomPrice"/></dd>
									<dt>注册时间：</dt><dd><s:property value="detail.roomRegTime"/></dd>
									<dt>推荐指数：</dt>
									<dd>
										<s:bean name="org.apache.struts2.util.Counter" id="counter">     
										    <s:param name="first" value="1"/>     
										    <s:param name="last" value="detail.roomStar"/>     
										 	<s:iterator status="count">     
										    	<img src="/images/tb_14.gif" class="xingxing"/>
										  	</s:iterator>     
								 		</s:bean>
									</dd>
								</dl>
								<s:form action="addFav" namespace="/inte" validate="true" theme="simple" method="post">
								<script type="text/javascript">
									function addFavCheck(){
										var temp=confirm("确定将本客房加入我的收藏？");
										if(temp){
											addFav.submit();
										}
									}
								</script>
								<a href="javascript:addFavCheck()" class="contact">加入收藏</a>
								<input type="hidden" name="userID" value="<%=userID%>"/>
								<input type="hidden" name="roomID" value="<s:property value='roomID'/>"/>
								<input type="hidden" name="roomName" value="<s:property value="detail.roomName"/>"/>
								</s:form>
								<a href="#lianxiren" class="contact">联系店家</a>
								<s:form action="reservation" namespace="/inte" validate="true" theme="simple" method="post">
									<input type="hidden" name="userID" value="<%=userID%>"/>
									<input type="hidden" name="roomID" value="<s:property value='roomID'/>"/>
									<a href="javascript:reservation.submit()" class="contact">立即预定</a>
								</s:form>
							</div>
							<div class="info-man">
								<img src="/picture/homePic/<s:property value='detail.homePic'/>" width="90" height="50"/>
								<dl>
									<dt>店铺：</dt><dd><s:property value="detail.homeName"/></dd>
									<dt>店家：</dt><dd><s:property value="detail.ownerName"/></dd>
								</dl>
							</div>
						</div>
					</div>
				</div>
				<div class="left_list">
					<!--客房图片信息-->
					<div class="title"><h3><img src="/images/pt_service_title.gif" id="title_img"/>客房展示</h3></div>
					<div id="photo">
						<s:iterator value="picAll" status="index">
						<a href="/picture/roomPic/<s:property />" rel="clearbox[test1]"><img class="photo" src="/picture/roomPic/<s:property />"/></a>
						</s:iterator>
					</div>
				</div>
				<div class="left_list">
					<!--客房地址信息-->
					<div class="title"><h3><img src="/images/pt_service_title.gif" id="title_img"/>地址信息</h3></div>
					<div id="location">
						<div id="location_info">
							<table id="lianxi" border="0" cellspacing="1" cellpadding="0">
							  <tr>
								<th scope="row">所属地区：</th>
								<td><s:property value="detail.roomPro"/> <s:property value="detail.roomCity"/></td>
							  </tr>
							  <tr>
								<th scope="row">所在景区：</th>
								<td><s:property value="detail.roomHolidy"/></td>
							  </tr>
							  <tr>
								<th scope="row">具体位置：</th>
								<td><s:property value="detail.roomAddress"/></td>
							  </tr>
							  <tr>
								<th scope="row">交通指南：</th>
								<td><s:property value="detail.roomTraffic"/></td>
							  </tr>
							  <tr>
								<th scope="row">邮政编码：</th>
								<td><s:property value="detail.roomZipCode"/></td>
							  </tr>
							  <tr>
								<th scope="row">其他说明：</th>
								<td><s:property value="detail.roomTrafficOther"/></td>
							  </tr>
							</table>
						</div>
						<div id="location_map"></div>	
					</div>
				</div>
				<div class="left_list">
					<!--客房详细信息-->
					<div class="title"><h3><img src="/images/pt_service_title.gif" id="title_img"/>详细信息</h3></div>
					<div id="detail">
						<table id="info_details" border="0" cellspacing="1" cellpadding="0">
						  <tr>
							<th scope="row">所属专题：</th>
							<td><s:property value="detail.roomHolidayType"/></td>
							<th scope="row">客房类型：</th>
							<td><s:property value="detail.roomType"/></td>
						  </tr>
						  <tr>
							<th scope="row">客房面积：</th>
							<td><s:property value="detail.roomArea"/></td>
							<th scope="row">客房数量：</th>
							<td><s:property value="detail.roomNum"/>套</td>
						  </tr>
						  <tr>
							<th scope="row">客房面积：</th>
							<td><s:property value="detail.roomArea"/>平方米</td>
							<th scope="row">客房数量：</th>
							<td><s:property value="detail.roomNum"/>套</td>
						  </tr>
						  <!--<tr>
							<th scope="row">所属专题：</th>
							<td colspan="3">温泉专题</td>
						  </tr>
						  <tr>
							<th scope="row">客房类型：</th>
							<td colspan="3">套房 1室1厅</td>
						  </tr>
						  <tr>
							<th scope="row">客房面积：</th>
							<td colspan="3">100平方米</td>
						  </tr>
						  <tr>
							<th scope="row">客房数量：</th>
							<td colspan="3">10套</td>
						  </tr>-->
						  <tr>
							<th scope="row">客房介绍：</th>
							<td colspan="3"><s:property value="detail.roomDes"/></td>
						  </tr>
						  <tr>
							<th scope="row">配套设施：</th>
							<td colspan="3">
								<table id="sheshi" border="0" cellspacing="0" cellpadding="0">
								  <tr>
									<td><span disabled="disabled"><s:checkbox name="detail.roomTV" theme="simple"/></span>电视机</td>
									<td><span disabled="disabled"><s:checkbox name="detail.roomAir" theme="simple"/></span>空调</td>
									<td><span disabled="disabled"><s:checkbox name="detail.roomSepToilet" theme="simple"/></span>独立卫生间</td>
									<td><span disabled="disabled"><s:checkbox name="detail.roomPubToilet" theme="simple"/></span>公共卫生间</td>
								  </tr>
								  <tr>
									<td><span disabled="disabled"><s:checkbox name="detail.roomBath" theme="simple"/></span>热水器</td>
									<td><span disabled="disabled"><s:checkbox name="detail.roomInternet" theme="simple"/></span>宽带</td>
									<td><span disabled="disabled"><s:checkbox name="detail.roomWashMac" theme="simple"/></span>洗衣机</td>
								<td><span disabled="disabled"><s:checkbox name="detail.roomFridge" theme="simple"/></span>冰箱</td>
								  </tr>
								  <tr>
									<td><span disabled="disabled"><s:checkbox name="detail.roomPhone" theme="simple"/></span>电话</td>
									<td><span disabled="disabled"><s:checkbox name="detail.roomSofa" theme="simple"/></span>沙发</td>
									<td><span disabled="disabled"><s:checkbox name="detail.roomWater" theme="simple"/></span>饮水机</td>
								  </tr>
								</table>
							</td>
						  </tr>
						  <tr>
							<th scope="row">其他设施：</th>
							<td colspan="3"><s:property value="detail.roomOtherFacilties"/></td>
						  </tr>
						  <tr>
							<th scope="row">其他说明：</th>
							<td colspan="3"><s:property value="detail.roomOther"/></td>
						  </tr>
						</table>

					</div>
				</div>
				<div class="left_list">
					<!--客房联系信息-->
				
					<div class="title"><h3><img src="/images/pt_service_title.gif" id="title_img"/>联系信息</h3></div>
					<div id="lianxiren">
						<table id="info_lianxiren" border="0" cellspacing="1" cellpadding="0">
						  <tr>
							<th scope="row">联系人姓名：</th>
							<td><s:property value="detail.linkManName"/></td>
							<th scope="row">联系人地址：</th>
							<td><s:property value="detail.linkManAddress"/></td>
						  </tr>
						  <tr>
							<th scope="row">联系电话：</th>
							<td><s:property value="detail.linkManPhone"/></td>
							<th scope="row">E-mail地址：</th>
							<td><s:property value="detail.linkManEmail"/></td>
						  </tr>
						  <!--  
						  <tr>
							<th scope="row">E-mail地址：</th>
							<td><s:property value="detail.roomOther"/></td>
							<th scope="row">邮政编码：</th>
							<td><s:property value="detail.roomOther"/></td>
						  </tr>
						  -->
						  <tr>
							<th scope="row">QQ号：</th>
							<td><s:property value="detail.linkManQQ"/></td>
							<th scope="row">MSN号：</th>
							<td><s:property value="detail.linkManMSN"/></td>
						  </tr>
						 </table>
					</div>
				</div>
				<div class="left_list">
					<!--客房评论信息-->
					<div class="title"><h3><img src="/images/pt_service_title.gif" id="title_img"/>用户评论</h3></div>
					<div id="pinglun">
						
					</div>
				</div>
			</div>
			<%@ include file="/integration/detail_right.jsp" %>
		</div>
	<%@ include file="/foot.jsp" %>